package cn.tedu._08article.pojo.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class Article {
    @Schema(description = "文章id",required=true,type = "long")
    private Long id;
    @Schema(description = "文章标题",required=true,type = "string")
    private String title;
    @Schema(description = "文章内容",required=true,type = "string")
    private String content;
    @Schema(description = "用户id",required=true,type = "long")
    private Long userId;
}
